package com.zhangx.study.demo.rpc.server.service;

import com.zhangx.study.demo.rpc.server.model.User;
import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName UserServiceImpl
 * @Description TODO
 * @Author zhangx
 * @Date 2020/10/12 8:22
 **/
@Slf4j
public class UserServiceImpl implements IUserService{
    @Override
    public User findUserById(Integer id) {
        log.info("服务端进行处理");
        User user = new User();
        user.setId(id);
        user.setAge(18);
        user.setName("张三");
        return user;
    }

    @Override
    public void test(Integer i) {

    }
}
